package com.lovo.sys.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@TableName("product_listing_review")
@Getter
@Setter
@NoArgsConstructor
@ApiModel(value = "商品审核记录实体", description = "商品审核记录实体")
public class ProductListingReviewBean {

    @ApiModelProperty("商品审核记录id")
    @TableId(value = "pk_reviewId", type = IdType.AUTO)
    private long reviewId;
    @ApiModelProperty("审核记录商品名")
    @TableField("pl_productName")
    private String productName;
    @ApiModelProperty("状态0-未上架1-未审核2-审核不通过3-审核通过4-已下架")
    @TableField("pl_productStatus")
    private int productStatus;
    @ApiModelProperty("操作时间")
    @TableField("pl_operateDate")
    private LocalDate operateDate;
    @ApiModelProperty("创建时间")
    @TableField("pl_createDate")
    private LocalDate creatDate=LocalDate.now() ;
    @ApiModelProperty("审核内容")
    @TableField("pl_content")
    private String content;
    @ApiModelProperty("审核人")
    @TableField("pl_adminName")
    private String adminName;


}
